<?php
/*
 * Created on
 * Date: 2007-12-27
 * Author: William Yang
 */
require_once(dirname(__FILE__)."/../common/constants.php");
require_once(DB_SESSION_DIR_PATH."/db_common.php");

DbTools::delete_all();

$from = $_POST["linkfrom"];
if ($from != "")
	echo "<meta http-equiv=refresh content=\"2; url=$from\">";  
	
echo "Database is cleared successfully."; 
?>
